package com.suyuan.vo;

import com.suyuan.entity.ProPic;
import com.suyuan.entity.ProductInfo;

import java.io.Serializable;
import java.util.List;

/**
 * 商品VO类
 */
public class ProductVO implements Serializable{

    private ProductInfo product;

    private List<ProPic> smallPices;

    private List<ProPic> bigPices;

    public ProductInfo getProduct() {
        return product;
    }

    public void setProduct(ProductInfo product) {
        this.product = product;
    }

    public List<ProPic> getSmallPices() {
        return smallPices;
    }

    public void setSmallPices(List<ProPic> smallPices) {
        this.smallPices = smallPices;
    }

    public List<ProPic> getBigPices() {
        return bigPices;
    }

    public void setBigPices(List<ProPic> bigPices) {
        this.bigPices = bigPices;
    }

    public ProductVO(){}

    public ProductVO(ProductInfo product, List<ProPic> smallPices, List<ProPic> bigPices) {
        this.product = product;
        this.smallPices = smallPices;
        this.bigPices = bigPices;
    }

    @Override
    public String toString() {
        return "ProductVO{" +
                "product=" + product +
                ", smallPices=" + smallPices +
                ", bigPices=" + bigPices +
                '}';
    }
}
